#include  <stdio.h>
#include "cmd_core.h"

int EXEC_FUN(test,get)(char *cmd_line, char *ret_buf, size_t ret_max_len)
{
	printf("test,get\n");
	return 0;
}

int main()
{
	init_module_core();

	cmd_process_t cmds[] = {
				DEF_CMD(test,get),
				{"",NULL}
				};

	register_module_byname("test");
	register_cmds_auto_end("test",cmds);

	char buf[256] = "test get";
	char ret_buf[256];

	execute(buf, ret_buf, 256);
	
	return 0;
}

